#pragma once


// CPgrsStatusBar

class CPgrsStatusBar : public CStatusBar
{
	DECLARE_DYNAMIC(CPgrsStatusBar)

public:
	CPgrsStatusBar();
	virtual ~CPgrsStatusBar();

//operation
public:
	void SetProgress(UINT nProgress);
	void ShowProgressBar(void);
	void HideProgressBar(void);

protected:
	DECLARE_MESSAGE_MAP()

private:
	CProgressCtrl m_progress;
public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
};


